import request from '@/utils/request'

// 账户列表
export function gongjuList(params: any) {
    return request.get({ url: '/article.gongju/gongjuList', params })
}
// 保存工具信息
export function saveGongju(params: any) {
    return request.post({ url: '/article.Gongju/saveGongju', params })
}
// 修改工具状态
export function changeGongjuStatus(params: any) {
    return request.post({ url: '/article.gongju/changeGongjuStatus', params })
}
// 附近网点列表
export function getBankList(params: any) {
    return request.get({ url: '/article.gongju/getBankList', params })
}
// 获取网点详情
export function getBankInfo(params: any) {
    return request.get({ url: '/article.gongju/getBankInfo', params })
}
// 保存网点详情
export function saveBankInfo(params: any) {
    return request.post({ url: '/article.gongju/saveBankInfo', params })
}
// 删除网点信息
export function delBankInfo(params: any) {
    return request.post({ url: '/article.gongju/delBankInfo', params })
}
// 获取城市
export function getTreeList(params: any) {
    return request.get({ url: '/city.Manage/getTreeList', params })
}
// 文档分类列表
export function wordType(params: any) {
    return request.get({ url: '/article.word/wordType', params })
}
// 文档分类详情
export function wordTypeInfo(params: any) {
    return request.get({ url: '/article.word/wordTypeInfo', params })
}
// 保存分类
export function saveWordType(params: any) {
    return request.post({ url: '/article.word/saveWordType', params })
}
// 文档列表
export function wordList(params: any) {
    return request.get({ url: '/article.word/wordList', params })
}
// 文档详情
export function wordInfo(params: any) {
    return request.get({ url: '/article.word/wordInfo', params })
}
// 保存文档
export function saveWord(params: any) {
    return request.post({ url: '/article.word/saveWord', params })
}